/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package io;

import java.io.File;

/**
 *
 * @author David
 */
public class FileOpener {

    public void openArchitectureFile(File file) {
        if (file.getName().toLowerCase().endsWith(".xml")) {
           Reader xmlReader = new XMLReader();
           xmlReader.openArchitectureFile(file);
        }

    }

    public void openStructureFile(File file) {
        //Reader xmlReader = new XMLReader();
        //xmlReader.openStructureFile(file);
    }
}
